import {
	apiResquest
} from '@/common/request.js'

//获取当前月订单数量
export const proplantotal = (query) => {
	return apiResquest({
		url: '/customer/proplan/analysis/total',
		method: 'GET',
		query,
	})
}
// 获取时间类型
export const dateselect = (query) => {
	return apiResquest({
		url: '/customer/proplan/analysis/date/select',
		method: 'GET',
		query
	})
}
//获取产值统计数据
export const outputValue = (query) => {
	return apiResquest({
		url: '/customer/proplan/analysis/outputValue',
		method: 'GET',
		query
	})
}
//获取产值统计数据二级页面
export const outputValuesecond = (query) => {
	return apiResquest({
		url: '/customer/proplan/analysis/outputValue/second',
		method: 'GET',
		query
	})
}
// 获取品质统计数据/
export const quantityCount = (query) => {
	return apiResquest({
		url: `/customer/proplan/analysis/quantityCount`,
		method: 'GET',
		query
	})
}

//获取品质统计数据二级页面
export const quantityCountsecond = (query) => {
	return apiResquest({
		url: `/customer/proplan/analysis/quantityCount/second`,
		method: 'GET',
		query
	})
}

